package com.wyz.utils;

import java.util.UUID;

public class IDUtils {
    //生产随机ID replaceAll("-","");替换原来的符号
    public static String getId(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }

    public static void main(String[] args) {
        System.out.println(IDUtils.getId());
    }
}
